setVolume

abstract fun setVolume(block: DesignBlock, @FloatRange(from = 0.0, to = 1.0) volume: Float)

Set the audio volume of the given block.

Parameters

block

the block or video fill to update.

volume

the desired volume with a range of 0, 1.